{extend name="base"/}
{block name="content"}
<link rel="stylesheet" href="__STATIC__/index/css/cart.css" />
<div id="downPull"><span>下拉刷新</span><br/><img src="__STATIC__/index/img/5-121204194026.gif"/></div>
<div id="upPull"><span>上拉加载</span><br/><img src="__STATIC__/index/img/5-121204194026.gif"/></div>
<div id="main">
    <div class="guarantee">
        <div class="guarantee-main">
            <image src="__STATIC__/index/img/circles.png" mode="aspectFill" class="guarantee-img" />
            <text>订单险</text>
        </div>
        <div class="guarantee-main">
            <image src="__STATIC__/index/img/circles.png" mode="aspectFill" class="guarantee-img" />
            <text>坏果包赔</text>
        </div>
        <div class="guarantee-main">
            <image src="__STATIC__/index/img/circles.png" mode="aspectFill" class="guarantee-img" />
            <text>7天无理由退货</text>
        </div>
    </div>
    <div class="container carts-list" id="carts-list">
        <div class="carts-container">
            <div class="carts-item">
                <!-- 复选框图标 -->
                <input class="checkbox" type = "checkbox" _id="+data[i].cart_id" name = "check"/>
                <div>
                    <!-- 缩略图 -->
                    <img class="carts-image" src="'+data[i].pspeci_img" />
                    </div>
                <div class="carts-text">
                    <!-- 商品标题 -->
                    <span  class="carts-title">+data[i]</span>
                    <span  class="carts-title">
                        <span>123</span><span>123</span><span>123</span>
			        		</span>
                    <div class="carts-subtitle">
                        <!-- 价格 -->
                        <span class="carts-price"><span class="carts-price_span">+d</span></span>
                        <!-- 数量加减 -->
                        <div class="carts-num">
                            <div class="stepper">
                                <!-- 减号 -->
                                <span class="bindMinus"  onclick="bindMinus(this)">-</span>
                                <!-- 数值 -->
                                <input type="number" class="productNum" value="1" />
                                <!-- 加号 -->
                                <span class="normal"  onclick="bindPlus(this)">+</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            <button class="delete-button" cart_id="'+data[i].cart_id" onclick="deleteCart(this)">删除</button>
            </div>
    </div>
    <div class="discount-main-no"  style="display: none;">
        <div class="discount-main-no-content">
            <img class="d-m-n-c-img" src="__STATIC__/index/img/noOrder.png"/>
            <span class="d-m-n-c-txt">还没有订单哦</span>
        </div>
    </div>
    <div class="carts-footer">
        <div class="select-and-amount">
            <input class="checkboxAll" id="allCheck" type = "checkbox" name = "check"/>
            <span>全选</span>
            <span class="total">0</span>
        </div>
        <a class="button" id="bindCheckout">立即结算</a>
    </div>
    <input type="hidden" id="token_user" value="{$token}">
    {include file="public:footer" /}
<script src="__STATIC__/index/js/jquery-1.8.3.min.js"></script>
<script src="__STATIC__/index/js/commonNew.js"></script>
<script src="__STATIC__/index/js/token.js"></script>
<script src="__STATIC__/index/js/cart.js"></script>

{/block}


